﻿''' <summary>
''' Programmed by: Muhammad Yasin
''' Email: Muhammad-Yasin@outlook.com
''' </summary>
''' <remarks></remarks>
Public Class SmoothLabel
    Inherits Label
    Protected Overrides Sub OnPaint(e As PaintEventArgs)
        e.Graphics.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAlias
        MyBase.OnPaint(e)
        e.Graphics.TextRenderingHint = Drawing.Text.TextRenderingHint.SystemDefault
    End Sub
    ''' <summary>
    ''' Show the about box of the control.
    ''' </summary>
    ''' <remarks></remarks>
    Public Sub ShowAbout()
        MsgBox("Programmed by: Muhammad Yasin" + vbCrLf + "Email: Muhammad-Yasin@outlook.com", MsgBoxStyle.Information, "About Smooth Label")
    End Sub
End Class
